package com.momo.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication
@EnableAuthorizationServer
@ComponentScans({@ComponentScan("com.momo.common.auth")})
public class MomoAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(MomoAuthApplication.class, args);
    }

}
